<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>个人中心</title>
		<link type="text/css" rel="stylesheet" href="${ctx }/scripts/plugins/tab/ui.tabs.css" />
		<script src="${ctx }/scripts/plugins/tab/jquery-1.2.4b.js" type="text/javascript"></script>
        <script src="${ctx }/scripts/plugins/tab/ui.core.js" type="text/javascript"></script>
        <script src="${ctx }/scripts/plugins/tab/ui.tabs.js" type="text/javascript"></script>
		<script type="text/javascript" src="${ctx }/scripts/plugins/date/timer.js"></script>
		<script type="text/javascript" src="${ctx }/scripts/cloudleap/notepad/notepad.js"></script>
		<script type="text/javascript">
	        $(function () {
	            $('#rotate > ul').tabs({ fx: { opacity: 'toggle' } });
	            searchNotepad(1, "new");
	        });
    	</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_3">
				<jsp:include page="/common/menu_default.jsp"/>
			</div>
			<div class="grid_10 alpha omega">
				<div class="content_top">
					<div class="left">
						<img src="${ctx }/images/head_white.png" />
					</div>
					<div class="right">
						个人中心
					</div>
					<div id="divTime" class="time">
				        <label id="lblDate"></label>
				        <label id="lblTime"></label>
				     </div>
				</div>
				<div class="content_bottom">
					<p></p>
					<p></p>
					<div class="con_t">
						<table width="100%">
							<tr>
								<td style="text-align: center;">
									<img src="${ctx }/images/app_sign.png" style="cursor: pointer;" onclick="setSign()" />
								</td>
								<td style="text-align: center;">
									<img src="${ctx }/images/app_note.png" style="cursor: pointer;" onclick="setNote()" />
								</td>
							</tr>
						</table>
					</div>
					<div id="rotate" style="margin-top: 50px;">
			            <ul>
			                <li><a href="#new" onclick="searchNotepad(1, 'new')"><span>最新</span></a></li>
			                <li><a href="#signin" onclick="searchNotepad(2, 'signin')"><span>签到</span></a></li>
			                <li><a href="#notepad" onclick="searchNotepad(3, 'notepad')"><span>记事</span></a></li>
			                <c:if test="${currentRole.roleType.id ne 2 }">
				                <li><a href="#group" onclick="searchNotepad(4, 'group')"><span>工作组</span></a></li>
			                </c:if>
			            </ul>
			            <div id="new" align="center">
			                <img alt="" src="${ctx }/images/loading.gif">
			            </div>
			            <div id="signin" align="center">
			                <img alt="" src="${ctx }/images/loading.gif">
			            </div>
			            <div id="notepad" align="center">
			                <img alt="" src="${ctx }/images/loading.gif">
			            </div>
			            <c:if test="${currentRole.roleType.id ne 2 }">
				            <div id="group" align="center">
			                	<img alt="" src="${ctx }/images/loading.gif">
				            </div>
			            </c:if>
			    	</div>
					<p></p>
				</div>
			</div>
		</div>
		<div class="container_16" style="margin-top: 50px;">
			<p></p>
		</div>
	</body>
</html>










<%--<head>--%>
<%--    <title><fmt:message key="notepadList.title"/></title>--%>
<%--    <meta name="heading" content="<fmt:message key='notepadList.heading'/>"/>--%>
<%--    <meta name="menu" content="NotepadMenu"/>--%>
<%--</head>--%>
<%----%>
<%--<div id="search">--%>
<%--<form method="get" action="${ctx}/notepads" id="searchForm">--%>
<%--    <input type="text" size="20" name="q" id="query" value="${param.q}"--%>
<%--           placeholder="Enter search terms..."/>--%>
<%--    <input type="submit" value="<fmt:message key="button.search"/>"/>--%>
<%--</form>--%>
<%--</div>--%>
<%----%>
<%--<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editNotepad"/>'" value="<fmt:message key="button.add"/>"/>--%>
<%--<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>--%>
<%----%>
<%--<display:table name="notepads" class="table" requestURI="" id="notepadList" export="true" pagesize="25">--%>
<%--    <display:column property="id" sortable="true" href="editNotepad" media="html"--%>
<%--        paramId="id" paramProperty="id" titleKey="notepad.id"/>--%>
<%--    <display:column property="id" media="csv excel xml pdf" titleKey="notepad.id"/>--%>
<%--    <display:column property="content" sortable="true" titleKey="notepad.content"/>--%>
<%--    <display:column property="level" sortable="true" titleKey="notepad.level"/>--%>
<%--    <display:column property="mode" sortable="true" titleKey="notepad.mode"/>--%>
<%--    <display:column property="signInTime" sortable="true" titleKey="notepad.signInTime"/>--%>
<%--    <display:column property="signOutTime" sortable="true" titleKey="notepad.signOutTime"/>--%>
<%--    <display:column property="type" sortable="true" titleKey="notepad.type"/>--%>
<%--    <display:column property="userId" sortable="true" titleKey="notepad.userId"/>--%>
<%----%>
<%--    <display:setProperty name="paging.banner.item_name"><fmt:message key="notepadList.notepad"/></display:setProperty>--%>
<%--    <display:setProperty name="paging.banner.items_name"><fmt:message key="notepadList.notepads"/></display:setProperty>--%>
<%----%>
<%--    <display:setProperty name="export.excel.filename"><fmt:message key="notepadList.title"/>.xls</display:setProperty>--%>
<%--    <display:setProperty name="export.csv.filename"><fmt:message key="notepadList.title"/>.csv</display:setProperty>--%>
<%--    <display:setProperty name="export.pdf.filename"><fmt:message key="notepadList.title"/>.pdf</display:setProperty>--%>
<%--</display:table>--%>
<%----%>
<%--<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editNotepad"/>'" value="<fmt:message key="button.add"/>"/>--%>
<%--<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>--%>
<%----%>
<%--<script type="text/javascript">--%>
<%--    highlightTableRows("notepadList");--%>
<%--</script>--%>
